﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Modellayer
{
    [DataContract]
    public class Movie
    {
        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public string MovieLength { get; set; }

        [DataMember]
        public string MovieDescription { get; set; }

        public Movie(string Title, string MovieLength, string MovieDescription)
        {
            this.Title = Title;
            this.MovieLength = MovieLength;
            this.MovieDescription = MovieDescription;
        }

        public Movie()
        { }

        //[DataMember]
        //public string getSetTitle
        //{
        //    get { return Title; }
        //    set { Title = value; }
        //}

        //[DataMember]
        //public string getSetMovieLength
        //{
        //    get { return MovieLength; }
        //    set { MovieLength = value; }
        //}

        //[DataMember]
        //public string getSetMovieDescription
        //{
        //    get { return MovieDescription; }
        //    set { MovieDescription = value; }
        //}
    }
}
